package cn.tedu.mybatis.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ArticleTagMapper {
    /**
     * 将文章和标签关系数据写入数据库
     * @param articleId
     * @param tagIds
     * @return
     */
    int insert(@Param("articleId") Long articleId,
               @Param("tagIds") Long[]tagIds);
}
